﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace VisionCloud.Core.Model.Ms
{
    [Table("MsSProgressAnalysis")]
    public class MsSProgressAnalysis
    {
        [Key]
        public Guid MsProgressAnalysisGuid { set; get; }

        public Guid CompanyGuid { set; get; }
        public Guid ProjectGuid { set; get; }
        public string BuildingName { set; get; }
        public DateTime? StructuralFirstDateTime { set; get; }
        public DateTime? StructuralSecondDateTime { set; get; }
        public DateTime? PlasterFirstDateTime { set; get; }
        public DateTime? PlasterSecondDateTime { set; get; }
        public DateTime? MasonrySecondDateTime { set; get; }
        public DateTime? MasonryFirstDateTime { set; get; }
        public string FloorNum { set; get; }
        public Guid TaskId { set; get; }
        public int MsFaceValue { set; get; }
        public Guid HouseMapId { set; get; }
        public string StructuralFirstDateTimeTaskType { set; get; }
        public string StructuralSecondDateTimeTaskType { set; get; }
        public string PlasterFirstDateTimeTaskType { set; get; }
        public string PlasterSecondDateTimeTaskType { set; get; }
        public string MasonrySecondDateTimeTaskType { set; get; }
        public string MasonryFirstDateTimeTaskType { set; get; }
        public string TaskProperty { set; get; }
        public string ProjectStandardId { set; get; }
        public string OtherStageHashTable { set; get; }

        [Column(TypeName = "uuid", Order = 1000)]
        public Guid CreatedBy { get; set; }

        [Column(TypeName = "timestamp(0)", Order = 1001)]
        public DateTime CreatedDate { get; set; }

        [Column(TypeName = "uuid", Order = 1002)]
        public Guid LastUpdatedBy { get; set; }

        [Column(TypeName = "varchar", Order = 1003)]
        public DateTime LastUpdatedDate { get; set; }
    }
}